package com.sgb.auction.adapter;

import android.content.Context;
import com.amap.api.services.core.PoiItem;
import com.sgb.auction.BR;
import com.sgb.auction.R;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;
import java.util.List;

public class AuctionMapSearchAdapter extends BaseRecycleAdapter<PoiItem> {

    public AuctionMapSearchAdapter(Context context, List<PoiItem> datas) {
        super(context, R.layout.item_pm_map_search, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final PoiItem entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}
